﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.TD
{
    /// <summary>
    /// 待维报废订单明细
    /// </summary>
    [Table("TD_ScrapDetail")]
    public partial class TD_ScrapDetail
    {

        /// <summary>
        /// 报废子表
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 报废主表
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 物料id
        /// </summary>
        public String MaterialId { get; set; }

        /// <summary>
        /// 报废数量
        /// </summary>
        public Double ScrapNums { get; set; }

        /// <summary>
        /// 货位id
        /// </summary>
        public String LocationId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean? Deleted { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public double? OutNum { get; set; }
    }
}